<div class="dmtin">
    <span><a href="<?= url_create('site', 'account', 'login') ?>"><?= lang('login') ?></a></span>
</div>
<div class="clear"></div>
<div id="left_content">
    <form method="post" id="infoForm" class="form-horizontal">
		<div class="control-group">
			<label class="control-label"><?= lang('Email') ?></label>
			<div class="controls">
				<input type="text" name="email" class="input" readonly="true"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label"><?= lang('username') ?></label>
			<div class="controls">
				<input type="text" name="username" class="input" readonly="true"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label"><?= lang('Fullname') ?></label>
			<div class="controls">
				<input type="text" name="fullname" class="input" readonly="true" />
			</div>
		</div>
		<div class="control-group">
			<label class="control-label"><?= lang('Mobile') ?></label>
			<div class="controls">
				<input type="text" name="mobile" class="input" readonly="true"/>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label"><?= lang('Address') ?></label>
			<div class="controls">
				<input type="text" name="address" class="input" readonly="true"/>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label"><?= lang('Identification Number') ?></label>
			<div class="controls">
				<input type="text" name="id_no" class="input" readonly="true"/>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label"><?= lang('Sponsor') ?></label>
			<div class="controls">
				<input type="text" name="sponsor" class="input" readonly="true"/>
			</div>
		</div>
	</form>
	<h4><?=lang('Registed Packages')?></h4>
	<table class="table table-bordered">
		<tr>
			<th><?=lang('Package Name')?></th>
			<th><?=lang('Registed Count')?></th>
		</tr>
		<?foreach($registed_pages as $page){?>
		<tr>
			<td><a href="<?=url_create('site','ViewPage','index',$page->id,$page->title)?>"><?=$page->title?></a></td>
			<td><?=$page->registed_count?></td>
		</tr>
		<?}?>
	</table>
</div>
<script src="<?= base_url() ?>/javascript/jquery/jquery.formParse.js"></script>
<script>
	$('#infoForm').formParse({
		data: <?=json_encode($info)?>,
		ckeditor: false,
	});
</script>

